<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title>京东-欢迎登录</title>
	<meta charset="utf-8">
	<link rel="stylesheet" href="/tpshop/Public/css/bootstrap.min.css" />
	<link rel="stylesheet" href="/tpshop/Public/css/bootstrap-theme.min.css" />
	<link rel="stylesheet" href="/tpshop/Public/css/nivo-slider.css" />
	<link rel="stylesheet" href="/tpshop/Public/css/front.css" />
</head>
<body>
	<div class="container">
		<div class="row" id="header">
			<div class="col-md-3">
				<a href="/tpshop/index.php"><img id="logo" src="/tpshop/Public/img/logo.png" /></a>
			</div>
		</div>
		<br />
	</div>
	<div id="login_wrapper">
		<div class="container">
			<div id="login">
				<div class="panel panel-default">
					<div class="panel-heading">
						账户登录
					</div>
					<div class="panel-body">
						<form action="<?=U('user/do_login')?>" method="post">
							<div class="form-group">
								<label>账户名</label>
								<input type="text" class="form-control" name="username" placeholder="邮箱/用户名/已验证手机">
							</div>
							<div class="form-group">
								<label>密码</label>
								<input type="password" class="form-control" name="password" placeholder="密码">
							</div>
							<div class="form-group">
								<label>验证码</label>
								<div class="row">
									<div class="col-md-6">
										<input class="form-control" type="text" name="verify" placeholder="请输入验证码">
									</div>
									<div class="col-md-6">
										<img style="cursor:pointer;width:100%;" id="verify" src="<?=U('user/verify')?>" />
									</div>
								</div>
							</div><br />
							<div class="form-group">
								<button type="submit" class="btn btn-block btn-danger">立即登录</button>	
							</div>
							<div class="form-group">
								<a href="<?=U('user/regedit')?>" target="_blank" class="btn btn-block btn-success">立即注册</a>	
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
    <div id="footer">
        <div class="links">
            <a rel="nofollow" target="_blank" href="//www.jd.com/intro/about.aspx">
                关于我们
            </a>
            |
            <a rel="nofollow" target="_blank" href="//www.jd.com/contact/">
                联系我们
            </a>
            |
            <a rel="nofollow" target="_blank" href="//zhaopin.jd.com/">
                人才招聘
            </a>
            |
            <a rel="nofollow" target="_blank" href="//www.jd.com/contact/joinin.aspx">
                商家入驻
            </a>
            |
            <a rel="nofollow" target="_blank" href="//www.jd.com/intro/service.aspx">
                广告服务
            </a>
            |
            <a rel="nofollow" target="_blank" href="//app.jd.com/">
                手机京东
            </a>
            |
            <a target="_blank" href="/links.vm/club.jd.com/links.aspx">
                友情链接
            </a>
            |
            <a target="_blank" href="//media.jd.com/">
                销售联盟
            </a>
            |
            <a href="//club.jd.com/" target="_blank">
                京东社区
            </a>
            |
            <a href="//gongyi.jd.com" target="_blank">
                京东公益
            </a>
            |
            <a target="_blank" href="//en.jd.com/" clstag="pageclick|keycount|20150112ABD|9">English Site</a>
        </div>
        <div class="copyright">
            Copyright&nbsp;&copy;&nbsp;2004-2016&nbsp;&nbsp;京东JD.com&nbsp;版权所有
        </div>
    </div>
</div>
	</div>
<script type="text/javascript" src="/tpshop/Public/js/jquery-3.1.0.min.js"></script>
<script type="text/javascript">
	$(function(){
		$('#verify').click(function(){
			var src = "<?=U("user/verify")?>"+"?"+Math.floor(Math.random()*1000);
			$(this).attr('src',src);
		});
	})
</script>
</body>
</html>